package com.yqg.education.mapper;

import com.yqg.education.entity.MonthPlan;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * Mapper 接口
 * </p>
 *
 * @author 张芸博
 * @since 2025-04-10
 */
@Mapper
public interface MonthPlanMapper extends BaseMapper<MonthPlan> {


    List<MonthPlan> pageList(@Param("pageNum") Integer pageNum,
                             @Param("pageSize") Integer pageSize,
                             @Param("search") String search,
                             @Param("stageNum") String stageNum,
                             @Param("stageId") Long stageId);

    Long pageListCount(@Param("search") String search,
                       @Param("stageNum") String stageNum,
                       @Param("stageId") Long stageId);
}
